﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Linq.Expressions;
using VietPay.KooBoo.Data.Interfaces;
using VietPay.KooBoo.Data.EntityModels;
using System.Data.Objects;
using VietPay.KooBoo.Data.Infrastructure;

namespace VietPay.KooBoo.Data
{
    public class CategoryRepository : RepositoryBase<Category>, ICategoryRepository
    {
        //private dbNewsEntities _context;        

        public CategoryRepository()
            : this(new DmsRepositoryContext())
        {
            //_context = new dbNewsEntities();
        }

        public CategoryRepository(IRepositoryContext repositoryContext)
            : base(repositoryContext)
        {
            //repositoryContext.SaveChanges();
            //_context = new dbNewsEntities();
        }
    }

}
